package com.ecommerce.model;
import java.io.Serializable;
public class ProductData implements Serializable {
    private Long productId;
    private String productName;
    private String keywords;
    private String shopName;
    private Integer payBuyerCount;
    private Integer visitorCount;
    private Double paymentAmount;
    private Double growthRate;
    private Double price;
    private String category;
    private String shopType;
    private Long timestamp;
    private Integer rank;
    private String rankType;

    // Constructors
    public ProductData() {}

    public ProductData(Long productId, String productName, String keywords, String shopName, 
                      Integer payBuyerCount, Integer visitorCount, Double paymentAmount, 
                      Double growthRate, Double price, String category, String shopType, 
                      Long timestamp, Integer rank, String rankType) {
        this.productId = productId;
        this.productName = productName;
        this.keywords = keywords;
        this.shopName = shopName;
        this.payBuyerCount = payBuyerCount;
        this.visitorCount = visitorCount;
        this.paymentAmount = paymentAmount;
        this.growthRate = growthRate;
        this.price = price;
        this.category = category;
        this.shopType = shopType;
        this.timestamp = timestamp;
        this.rank = rank;
        this.rankType = rankType;
    }

    // Getters and Setters
    public Long getProductId() { return productId; }
    public void setProductId(Long productId) { this.productId = productId; }

    public String getProductName() { return productName; }
    public void setProductName(String productName) { this.productName = productName; }

    public String getKeywords() { return keywords; }
    public void setKeywords(String keywords) { this.keywords = keywords; }

    public String getShopName() { return shopName; }
    public void setShopName(String shopName) { this.shopName = shopName; }

    public Integer getPayBuyerCount() { return payBuyerCount; }
    public void setPayBuyerCount(Integer payBuyerCount) { this.payBuyerCount = payBuyerCount; }

    public Integer getVisitorCount() { return visitorCount; }
    public void setVisitorCount(Integer visitorCount) { this.visitorCount = visitorCount; }

    public Double getPaymentAmount() { return paymentAmount; }
    public void setPaymentAmount(Double paymentAmount) { this.paymentAmount = paymentAmount; }

    public Double getGrowthRate() { return growthRate; }
    public void setGrowthRate(Double growthRate) { this.growthRate = growthRate; }

    public Double getPrice() { return price; }
    public void setPrice(Double price) { this.price = price; }

    public String getCategory() { return category; }
    public void setCategory(String category) { this.category = category; }

    public String getShopType() { return shopType; }
    public void setShopType(String shopType) { this.shopType = shopType; }

    public Long getTimestamp() { return timestamp; }
    public void setTimestamp(Long timestamp) { this.timestamp = timestamp; }

    public Integer getRank() { return rank; }
    public void setRank(Integer rank) { this.rank = rank; }

    public String getRankType() { return rankType; }
    public void setRankType(String rankType) { this.rankType = rankType; }

    @Override
    public String toString() {
        return "ProductData{" +
                "productId=" + productId +
                ", productName='" + productName + '\'' +
                ", category='" + category + '\'' +
                ", paymentAmount=" + paymentAmount +
                ", growthRate=" + growthRate +
                ", rank=" + rank +
                ", rankType='" + rankType + '\'' +
                '}';
    }}